home *** CD-ROM | disk | FTP | other *** search
- /*
- * DIRSCAN.C - General directory scanner function. Definitions.
- *
- *
- * PROGRAMMER: Martti Ylikoski
- * CREATED: 30.10.1991
- * VERSION: 1.0
- *
- */
- #define SC_RECURSIVE -1
- #define SC_NONRECURSIVE 0
- #define SC_BEFORESUBDIRS 0x0001
- #define SC_AFTERSUBDIRS 0x0002
-
- #ifdef MSDOS
- int DirScan( int fcount, char *fname[], unsigned findattr, int no_default,
- int (*DirInit)(char *), int (*DirExitFn)(char *),
- int (*FileHandlerFn)(char *), int DownCnt, int sc_flags ) ;
- #else
- int DirScan( int fcount, char *fname[], USHORT findattr, int no_default,
- int (*DirInit)(char *), int (*DirExitFn)(char *),
- int (*FileHandlerFn)(char *), int DownCnt, int sc_flags ) ;
- #endif
-